package com.amsp.oa.oademo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.util.Map;

@Data
@ApiModel(value = "调休申请单VO", description = "调休申请单数据传输对象")
public class LeaveAdjustmentVO {

    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "工号")
    private String employeeId;

    @ApiModelProperty(value = "姓名")
    private String employeeName;

    @ApiModelProperty(value = "组别")
    private String group;

    @ApiModelProperty(value = "岗位")
    private String position;

    @ApiModelProperty(value = "事由")
    private String reason;

    @ApiModelProperty(value = "上班开始日期")
    private Map<String, String> workStartDate;

    @ApiModelProperty(value = "上班结束日期")
    private Map<String, String> workEndDate;

    @ApiModelProperty(value = "休息开始日期")
    private Map<String, String> restStartDate;

    @ApiModelProperty(value = "休息结束日期")
    private Map<String, String> restEndDate;

    @ApiModelProperty(value = "申请人")
    private String applicant;

    @ApiModelProperty(value = "班组复核")
    private String groupReviewer;

    @ApiModelProperty(value = "部门负责人审核")
    private String departmentReviewer;

    @ApiModelProperty(value = "部长/总监签批")
    private String directorApprover;

    @ApiModelProperty(value = "总经理审批")
    private String generalManagerApprover;

    @ApiModelProperty(value = "企业管理部意见")
    private String managementDepartmentOpinion;

    @ApiModelProperty(value = "总裁/董事长核准")
    private String presidentApprover;

    @ApiModelProperty(value = "总裁/董事长核准日期")
    private String presidentApproverDate;

    @ApiModelProperty(value = "状态(pending-待审批, approved-已批准, rejected-已拒绝)")
    private String status;
}